<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="CSD" Namespace="CommunityServer.Discussions.Controls" Assembly="CommunityServer.Discussions" %>
<%@ Import Namespace="CommunityServer.Components" %>
<%@ Import Namespace="CommunityServer.Controls" %>
	
<div align=center>
<div class="CommonMessageArea">
	<h4 class="CommonMessageTitle"><CS:ResourceLabel runat="server" ResourceName="ForgottenPassword_Title" /></h4>
	<div class="CommonMessageContent">
		<div class="CommonFormArea">
		<div class="CommonFormDescription">
			<CS:ResourceLabel runat="server" ResourceName="ForgottenPassword_Instructions" />
		</div>
		<table  cellspacing="0" cellpadding="0" border="0">
            <tr id="Email_Row" runat="Server">
                <td align="right" class="CommonFormFieldName" >
					<CS:ResourceControl runat="server" ResourceName="ForgottenPassword_EmailAddress" />
                </td>
                <td align="left" class="CommonFormField" nowrap="true">                  
					<asp:textbox id="EmailAddress" runat="server" Columns="30" MaxLength="128" /> 
					<asp:RequiredFieldValidator ControlToValidate="EmailAddress" id="EmailValidator" runat="server" Display=Dynamic >*</asp:RequiredFieldValidator>
					<asp:RegularExpressionValidator id="EmailRegexValidator" runat="server" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ControlToValidate="EmailAddress" Display="Dynamic" >*</asp:RegularExpressionValidator>
                </td>                 
            </tr>                
            <tr id="Question_Row" runat="server">
                <td align="right" class="CommonFormFieldName" >
				    <CS:ResourceControl runat="server" ResourceName="ForgottenPassword_SecretQuestion" />
                </td>
                <td align="left" class="CommonFormField">                  
			        <asp:Literal runat="Server" id="sQuestion" />
                </td>                 
            </tr>                
            <tr id="Answer_Row" runat="server">
                <td align="right" class="CommonFormFieldName" >
					<CS:ResourceControl runat="server" ResourceName="ForgottenPassword_SecretAnswer" />
                </td>
                <td align="left" class="CommonFormField" nowrap="true">                  
					<asp:textbox id="SAnswer" runat="server" Columns="30" MaxLength="256" />             
					<asp:RequiredFieldValidator ControlToValidate="SAnswer" id="SAnswerValidator" runat="server" Display=Dynamic >*</asp:RequiredFieldValidator>
					<asp:RegularExpressionValidator id="SAnswerRegexValidator" ControlToValidate="SAnswer" runat="server" ValidationExpression="[1-zA-Z0-1@.\s]{1,256}" Display="Dynamic" >*</asp:RegularExpressionValidator>
                </td>                 
            </tr>        
			<tr>
                <td align="right">&nbsp;
                </td>
                <td align="left" class="">    
					<div class="CommonBigButton">
						<asp:button id="SendPassword" runat="server" ></asp:button>
						<asp:button id="Next" runat="server" ></asp:button>
					</div>
                </td>
            </tr>                
            <tr>
             <td colspan="2" align="left" class="CommonFormField">
                    <b><asp:Literal runat="Server" id="MessageTitle" /></b><br>
                    <asp:Literal runat="Server" id="MessageBody" />
                </td>
            </tr>
		</table>
		</div>

        <asp:ValidationSummary id="ValidationMsg" runat="server" DisplayMode="BulletList" Width="100%" CssClass="CommonValidationWarning" />              
	</div>
</div>	
